package lab02.test07;

public class Test07 {
    public static void main(String[] args) {
        Person zhang=new Person();
        zhang.name="zhangxiaohui";
        zhang.age=20;
        zhang.idcard="510321199703168344";
        System.out.println(zhang.getString());


        Student zhen =new Student();
        zhen.name="zhen";
        zhen.age=20;
        zhen.idcard="510321199803169876";
        zhen.university="sctu";
        System.out.println(zhen.getString());



    }
}
